package com.jie.config;


import com.jie.utility.CreateES;

import java.io.IOException;

import static com.jie.utility.GoodsConstants.MAPPING_IEMPLLATE;

public class CreateGoodsES {


    public static void main(String[] args) throws IOException {
        CreateES es = new CreateES();
        Boolean a = es.existtsIndex("goods");
        if(!a){
            es.createIndex("goods",MAPPING_IEMPLLATE);
        }
//      es.delIndex("goods");

    }
}
